package nc.ui.so.adjust;

import nc.ui.trade.bill.AbstractManageController;
import nc.ui.trade.button.IBillButton;
import nc.vo.scmpub.sn.SnScmConst;
import nc.vo.so.adjust.AdjustBillVO;
import nc.vo.so.adjust.AdjustBodyVO;
import nc.vo.so.adjust.AdjustButtonVO;
import nc.vo.so.adjust.AdjustHeadVO;


public class ClientController extends AbstractManageController {

	public int[] getCardButtonAry() {
		int[] buttonArray = new int[] {
				IBillButton.Add, 
				IBillButton.Edit,
				IBillButton.Save,
				IBillButton.Cancel,
				IBillButton.Line,
				IBillButton.Query, 
				IBillButton.Del, 
				IBillButton.Return, 
				IBillButton.Brow,
				IBillButton.Action, 
				IBillButton.Refresh,
				IBillButton.Print,
				AdjustButtonVO.joinquery
			};
		return buttonArray;
	}

	public boolean isShowCardRowNo() {
		return true;
	}

	public String getBillType() {
		return SnScmConst.SO_ADJUST_BILLTYPE;
	}

	public String[] getBillVoName() {
		return new String[] { 
				AdjustBillVO.class.getName(),
				AdjustHeadVO.class.getName(),
				AdjustBodyVO.class.getName()
				};
	}

	public String getBodyCondition() {
		return null;
	}

	public int getBusinessActionType() {
		return nc.ui.trade.businessaction.IBusinessActionType.PLATFORM;
	}

	public String getChildPkField() {
		return "corder_bid";
	}

	public String getPkField() {
		return "csaleid";
	}

	public Boolean isEditInGoing() throws Exception {
		return false;
	}

	public boolean isExistBillStatus() {
		return true;
	}

	public boolean isLoadCardFormula() {
		return true;
	}

	public int[] getListButtonAry() {
		int[] buttonArray = new int[] {
				IBillButton.Add, 
				IBillButton.Edit,
				IBillButton.Save,
				IBillButton.Cancel,
				IBillButton.Line,
				IBillButton.Query, 
				IBillButton.Del, 
				IBillButton.Card, 
				IBillButton.Brow,
				IBillButton.Action, 
				IBillButton.Refresh,
				IBillButton.Print,
				AdjustButtonVO.joinquery
				};
		return buttonArray;
	}

	public boolean isShowListRowNo() {
		return true;
	}

	public String[] getCardBodyHideCol() {
		return null;
	}

	public boolean isShowCardTotal() {
		return true;
	}

	public String getBodyZYXKey() {
		return null;
	}

	public String getHeadZYXKey() {
		return null;
	}

	public String[] getListBodyHideCol() {
		return null;
	}

	public String[] getListHeadHideCol() {
		return null;
	}

	public boolean isShowListTotal() {
		return true;
	}
}
